<div class="switcher">
    <a  ng-click="load_answered_questions()">我回答的问题</a>| <a ng-click="load_submitted_questions()">我的问题</a>
</div>
<div class="tip">
    {{mode2==0?"我回答的问题":"我的问题"}}
</div>
<div class="media well" ng-repeat="question in questions" ng-show="mode2==0">
    <a href="#" class="pull-left"> <img src="img/a_002.jpg" class="media-object"> </a>
    <h4 class="media-heading"><a href="#/question/{{question.id}}">{{question.question_name}}</a></h4>
    <div class="media-body" contenteditable="false">
        {{question.content}} </div>
    <h4 class="text1">我的回答<span class="text2">时间</span></h4>
    <div class="media-body" contenteditable="false">
        {{question.answer}} </div>
    </div>
</div>
<div class="media well" ng-repeat="question in questions" ng-show="mode2==1">
    <a href="#" class="pull-left"> <img src="img/a_002.jpg" class="media-object"> </a>
    <h4 class="media-heading"><a href="#/question/{{question.id}}">{{question.title}}</a></h4>
    <div class="media-body" contenteditable="false">
        {{question.content}} </div>
    <div class="" style="clear:both">
        <div style="float: right;margin-right:20px; margin-top:10px;">
            <span class="ng-binding"><i class="fa fa-user fa-fw"></i> {{question.username||"匿名"}}</span>
            <span class="ng-binding"><i class="fa fa-eye fa-fw"></i> {{question.read_num}}</span>
        </div>
    </div>
</div>
</div>

<div>
    <p bgf-pagination collection="questions" auto-presets="false" reload-page="reload" per-page="10"
       url="my_question_url"
       template-url="paginate-anything.html"></p>
</div>